//
//  LoadingView.h
//  LoadingView
//
//  Created by Matt Gallagher on 12/04/09.
//  Modified by Rohith Nandakumar on 18/06/2012.
//  Copyright Matt Gallagher 2009. All rights reserved.
// 
//  Permission is given to use this source code file, free of charge, in any
//  project, commercial or otherwise, entirely at your risk, with the condition
//  that any redistribution (in part or whole) of source code must retain
//  this copyright and permission notice. Attribution in compiled projects is
//  appreciated but not required.
//

#import <UIKit/UIKit.h>

@protocol LoadingViewDelegate <NSObject>

- (void)didCancelLoading;

@end

@interface LoadingView : UIView

@property (nonatomic, weak) id<LoadingViewDelegate> delegate;

+ (id)loadingViewInView:(UIView *)aSuperview withTitle:(NSString *)title;
- (void)removeView;
+ (LoadingView *)shareLoadingView;
+ (void)showPrompt:(UIView *)superView Tile:(NSString *)title;

@end
